package com.zkthink.ceres.store.dao;


import com.zkthink.base.mapper.SuperMapper;
import com.zkthink.ceres.store.dto.StoreProjectXianqing;
import com.zkthink.ceres.store.entity.StoreProject;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * 店铺服务项目
 * </p>
 *
 * @author chenke
 * @date 2022-04-28
 */
@Repository
public interface StoreProjectMapper extends SuperMapper<StoreProject> {
    /**
     * 假删除
     */
    void updatedelFlag(Long id);
    List<StoreProject> list(Long storeid);
    @Select("select * from ceres_store_project where storeid = #{storeid} LIMIT 1")
    StoreProject selectBystoreid(Long storeid);

    StoreProjectXianqing StoreProjectXianqing(Long id);

}
